package com.example.springboot.test;



public class ConcreteBuildB implements   Build{
    private Product product;
    public ConcreteBuildB(){
        product=new Product();
    }
    @Override
    public void buildHeader() {
        product.setHeader("header_b");
    }

    @Override
    public void buildBody() {
        product.setBody("body_b");
    }

    @Override
    public void buildFooter() {
        product.setFooter("footer_b");
    }

    @Override
    public Product build() {
        return product;
    }
}
